// 本文件用于配置小程序的一些参数，使小程序可以运行在飞羊环境和景区小程序环境中
module.exports = {
  id: 1825, // 店铺标识，不同的景区小程序对应着不同的标识
  type: 1,
  isFyApp: true, // 是否是飞羊小程序
  tabBarInactiveColor: '#aaa', // tabbar未选中时的文字颜色
  tabBarActiveColor: '#000', // tabbar选中时的文字颜色
  tabBarActiveColor: '#ff4739', // tabbar选中时的文字颜色
  loginLogo: 'https://feiyangimage.oss-cn-shanghai.aliyuncs.com/wxApplets/ic_login_logo.png', // 登录页面上方logo
  myCenterUrl: 'pages/mySelf/Index/index', // 我的页面路径，供登录功能使用，注意，不加前面的/
  // 景区小程序使用的是原生的tab，不使用下面的方法，仅供飞羊小程序使用
  tabBarArray() {
    return [
      {
        show: true, // 控制是否显示
        pagePath: "/pages/ScenicArea/ScenicAreaMainPage/index", // 页面跳转路径
        text: "首页", // 显示的标题
        iconPath: "https://feiyangimage.oss-cn-shanghai.aliyuncs.com/wxApplets/sc/tab1.png", // 未选中的图标路径
        selectedIconPath: "https://feiyangimage.oss-cn-shanghai.aliyuncs.com/wxApplets/sc/tab1-s.png" // 选中的图标路径
      
      },
      {
        show: true,
        pagePath: "/pages/ScenicArea/ScenicAreaGoodsList/index",
        text: "小店",
        iconPath: "https://feiyangimage.oss-cn-shanghai.aliyuncs.com/wxApplets/sc/tab2.png",
        selectedIconPath: "https://feiyangimage.oss-cn-shanghai.aliyuncs.com/wxApplets/sc/tab2-s.png"
      },
      {
        show: true,
        pagePath: "/pages/ScenicArea/discovery/index",
        text: "攻略",
        iconPath: "https://feiyangimage.oss-cn-shanghai.aliyuncs.com/wxApplets/sc/tab3.png",
        selectedIconPath: "https://feiyangimage.oss-cn-shanghai.aliyuncs.com/wxApplets/sc/tab3-s.png"
      },
      {
        show: true,
        pagePath: "/pages/ScenicArea/ScenicAreaComment/index",
        text: "问答",
        iconPath: "https://feiyangimage.oss-cn-shanghai.aliyuncs.com/wxApplets/sc/tab4.png",
        selectedIconPath: "https://feiyangimage.oss-cn-shanghai.aliyuncs.com/wxApplets/sc/tab4-s.png"
      },
      // {
      //   show: this.isFyApp,
      //   pagePath: "/pages/ScenicArea/MyCenter/index",
      //   text: "我的",
      //   iconPath: "https://feiyangimage.oss-cn-shanghai.aliyuncs.com/wxApplets/sc/tab5.png",
      //   selectedIconPath: "https://feiyangimage.oss-cn-shanghai.aliyuncs.com/wxApplets/sc/tab5-s.png"
      // }
      {
        show: this.isFyApp,
        pagePath: "/pages/ScenicArea/ScenicAreaOrder/index",
        text: "我的",
        iconPath: "https://feiyangimage.oss-cn-shanghai.aliyuncs.com/wxApplets/sc/tab5.png",
        selectedIconPath: "https://feiyangimage.oss-cn-shanghai.aliyuncs.com/wxApplets/sc/tab5-s.png"
      }
    ]
  },
  tabBarArrays() {
    return [
      {
        show: true, // 控制是否显示
        pagePath: "/pages/Dj/index", // 页面跳转路径
        text: "首页", // 显示的标题
        iconPath: "https://feiyangimage.oss-cn-shanghai.aliyuncs.com/wxApplets/tabbar/home.png", // 未选中的图标路径
        selectedIconPath: "https://feiyangimage.oss-cn-shanghai.aliyuncs.com/wxApplets/tabbar/home-active.png" // 选中的图标路径
       
      },
      {
        show: true,
        pagePath: "/pages/Dj/classification/index",
        text: "分类",
        iconPath: "https://feiyangimage.oss-cn-shanghai.aliyuncs.com/wxApplets/tabbar/category.png",
        selectedIconPath: "https://feiyangimage.oss-cn-shanghai.aliyuncs.com/wxApplets/tabbar/category-active.png"
      },
      {
        show: true,
        pagePath: "/pages/Dj/sys/sys",
        text: "扫一扫",
        iconPath: "https://feiyangimage.oss-cn-shanghai.aliyuncs.com/wxApplets/tabbar/sys.png",
        selectedIconPath: "https://feiyangimage.oss-cn-shanghai.aliyuncs.com/wxApplets/tabbar/sys.png"
      },
      {
        show: true,
        pagePath: "/pages/Dj/discovery/index",
        text: "发现",
        iconPath: "https://feiyangimage.oss-cn-shanghai.aliyuncs.com/wxApplets/tabbar/discovery.png",
        selectedIconPath: "https://feiyangimage.oss-cn-shanghai.aliyuncs.com/wxApplets/tabbar/discovery-active.png"
      },
      {
        show: this.isFyApp,
        pagePath: "/pages/Dj/mySelf/Index/index",
        text: "我的",
        iconPath: "https://feiyangimage.oss-cn-shanghai.aliyuncs.com/wxApplets/tabbar/my.png",
        selectedIconPath: "https://feiyangimage.oss-cn-shanghai.aliyuncs.com/wxApplets/tabbar/my-active.png"
      }
    ]
  }
}